package com.gxa.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 药品出入库表
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("药品出入库的实体")
public class SysDrugInventory {

  @ApiModelProperty(name = "id",notes = "库存id",dataType = "Integer",required =  true)
  private Integer id;
  @ApiModelProperty(name = "type",notes = "出库或入库",dataType = "byte",required =  false)
  private byte type;
  @ApiModelProperty(name = "patientId",notes = "用药人",dataType = "Integer",required =  false)
  private Integer patientId;
  @ApiModelProperty(name = "name",notes = "药瓶名称",dataType = "String",required =  false)
  private String name;
  @ApiModelProperty(name = "serialNumber",notes = "药品ID",dataType = "Integer",required =  false)
  private Integer serialNumber;
  @ApiModelProperty(name = "model",notes = "药品型号",dataType = "Integer",required =  false)
  private String model;
  @ApiModelProperty(name = "total",notes = "药品库存",dataType = "Integer",required =  false)
  private Integer total;
  @ApiModelProperty(name = "num",notes = "药品数量",dataType = "Integer",required =  false)
  private Integer num;
  @ApiModelProperty(name = "remarks",notes = "备注",dataType = "String",required =  false)
  private String remarks;
  @ApiModelProperty(name = "userId",notes = "负责人ID（存入当前登录用户）",dataType = "Integer",required =  false)
  private Integer userId;
  @ApiModelProperty(name = "disable",notes = "是否有效",dataType = "Byte",required =  false)
  private Byte disable;
  @ApiModelProperty(name = "createTime",notes = "创建时间",dataType = "String",required =  false)
  private String createTime;
  @ApiModelProperty(name = "updateTime",notes = "更新时间",dataType = "String",required =  false)
  private String updateTime;
  @ApiModelProperty(name = "isDeleted",notes = "是否有效",dataType = "Byte",required =  false)
  private Byte isDeleted;
}
